package com.easonji.core.annotion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName: Permission
 * @Description: 权限注解 用于检查权限 规定访问权限
 * @Author: LiuJun
 * @date: 2018/07/12 13:53
 * @Version: 1.0
 * @Copyright: Copyright (c) 2018 - 2019
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD })
public @interface Permission {

    String[] value() default {};
}
